<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>div</title>
    <style>
        .marginbox {
            width: 200px;
            height: 300px;
            background-color:red;
            margin: 20px;
            margin-top: 10px;
            margin-right: 20px;
            margin-bottom: 30px;
            margin-left: 40px;
            line-height: 300px;
            text-align: center;
        }
        .paddingbox {
            width: 200px;
            height: 300px;
            background-color:green;
            padding: 30px;
            padding-top: 30px;
            padding-right: 40px;
            padding-bottom: 50px;
            padding-left: 60px;

        }
        .borderbox {
            width: 200px;
            height: 300px;
            background-color:blue;
            border: 10px solid royalblue;
            border-top: 20px solid #aaa;
            border-right: 30px solid yellow;
            border-bottom: 40px solid rgb(13, 156, 78);
            border-left: 50px solid rgb(226, 41, 208);
            border-radius: 20%;
            line-height: 300px;
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="marginbox">bigbox</div>
    <div class="paddingbox">padding</div>
    <div class="borderbox">border</div>
</body>
</html>